from django.conf.urls import patterns, include, url

from django.contrib import admin
from django.conf import settings

admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'Pyi.views.home', name='home'),
    # url(r'^blog/', include('blog.urls')),

    url(r'^admin/', include(admin.site.urls)),
    url(r'^',include('index.urls',namespace="index") ),
   	(r'^site_media/(?P<path>.*)$', 'django.views.static.serve',
        {'document_root': '/Media' }),
   # url(r'^Media/(?P<file>.*)','django.views.static.serve',{'document_root': settings.MEDIA_URL }),
)

